Skip to content

feats(completions): complete insert, drop/alter table, ignore many situations #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

juleswritescode
Copy link
Collaborator

@juleswritescode juleswritescode commented May 20, 2025

I got carried away a bit!

This PR adds support for INSERT INTO completions and for DROP TABLE/ALTER TABLE statements.

It also flips the completions filtering from disallowlisting to allowlisting, so we'll have way fewer unwanted completions.

Screen.Recording.2025-05-24.at.13.57.06.mov

fn between_parentheses() {
let input = "insert into instruments ()";

// insert into (|) <- right in the parentheses
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that must hurt

@juleswritescode juleswritescode changed the title feats(completions): complete insert, drop/alter table, blurb [WIP] feats(completions): complete insert, drop/alter table, blurb May 20, 2025
@juleswritescode juleswritescode changed the title [WIP] feats(completions): complete insert, drop/alter table, blurb feats(completions): complete insert, drop/alter table, ignore many situations May 24, 2025
@juleswritescode juleswritescode requested a review from psteinroe May 24, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant